<?
	$nav = array("Home" => "", "Reservation" => "reservation/", "Ticket" => "reservation/ticket", "edit" => "#");

	$tpl->assign("dsfm_nav", $nav);

    $form = new Form( array(
		"id" => array(
			"type" => "hidden"
		),

		"ticket" => array(
			"width" => 200,
			"type" => "text",
		),

		"price" => array(
			"width" => 200,
			"type" => "text",
		),
	));

	$sql = "SELECT * FROM reservation_ticket WHERE id = $id";
	$rss = $db->query($sql);

	$data = new Data($rss);
	$form->add_data($data->fetch_unique());

	$form->add_action("ticket/update.php");

    $form->rain_display($tpl, "form");
?>